package com.hiss.basic.starter.websocket.model;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PrincipalModel {

    private String userId;

    private String channel;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
